package com.ynding.cloud.common.jedis.redis.annotation;

import com.ynding.cloud.common.jedis.redis.config.RedisProperties;
import com.ynding.cloud.common.jedis.redis.config.session.RedisSessionConfig;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * <p>自定义redis session 共享配置注解 </p>
 *
 * @author ynding
 * @version 2021/5/31
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnableAspectJAutoProxy(exposeProxy = true)
@Import({RedisSessionConfig.class, RedisProperties.class})
public @interface CustomRedisSessionConfig {
}
